from pyecharts.charts import Line
from pyecharts.options import TitleOpts
line = Line()
line.add_xaxis(["张景红","张景绿","张景松"])# X轴信息
line.add_yaxis("IQ",[90,180,250],)# Y轴信息
line.set_global_opts(
    title_opts=TitleOpts(title="吹牛逼",pos_left="30")
)

line.render()#生成图表